package com.l024.easyandroidlib.http.exception;

/**
 * @Author: Cat
 * @CreateTime: 2022-07-29  10:45
 * @Description: 异常处理
 * @Version: 1.0
 */
public class NetException extends Exception{
    private int code;
    private Object msg;

    public NetException(int code, Object msg) {
        super(msg+"");
        this.code = code;
        this.msg = msg;
    }

    public int getCode() {
        return code;
    }

    public Object getMsg() {
        return msg;
    }
}
